package chapter_six.P75;

/**
 * Data time:2021/9/18 15:09
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public abstract class Builder {     //抽象建造类
    //创建产品对象
    protected Product product = new Product();

    public abstract void buildPartA();
    public abstract void buildPartB();
    public abstract void buildPartC();

    //返回产品对象
    public Product getResult(){
        return product;
    }
}
